$(document).ready(function(){
    $('.dictate-words').blur(function(){
        var user_entered_word = $(this).val();
        var word = $(this).attr('word');
        var word_id = $(this).attr('id');
        if (word.indexOf(user_entered_word)>=0 && user_entered_word!='' && user_entered_word!=null) {
            $('#result_'+word_id).empty().append('正确');
        }else{
            $('#result_'+word_id).empty().append('错误');
        };    
    });  
    
    
});